package cn.iocoder.yudao.module.system.util.neo4j.neo4jCeshi;

import lombok.Data;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Relationship;

import java.util.List;

@Node("Vul")
@Data
public class VulEntity {

    @Id
    private String code;

    private String name;

    private String cveCode;

    private String level;

    private String dataSourceCode;

    private String type;

    private String source;

    private String cvss;

    private String introduction;

    private String translation;

    private String affectedEntity;

    private String referenceUrl;

    private String patch;

    private String label;

    private String vendor;

    private String poc;

    @Relationship(type = "影响资产", direction = Relationship.Direction.OUTGOING)
    private List<AssetsEntity> assetsEntityList;

}
